projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df70e28
)
wayland: __NR_memfd_create instead of SYS_memfd_create
author
Ray Strode
<rstrode@redhat.com>
Mon, 25 Jan 2016 18:55:25 +0000
(13:55 -0500)
committer
Ray Strode
<rstrode@redhat.com>
Mon, 25 Jan 2016 18:55:25 +0000
(13:55 -0500)
It looks like the gnome-continuous headers haven't quite
caught up yet, so try __NR_memfd_create instead.
If that doesn't work, i'll likely just add in a fallback
code path.
gdk/wayland/gdkdisplay-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdisplay-wayland.c
b/gdk/wayland/gdkdisplay-wayland.c
index 360c4898055c7a9cf016b201dbe2e520cf3b0a5c..f200800df977b529ba29c4664fda7917840ce011 100644
(file)
--- a/
gdk/wayland/gdkdisplay-wayland.c
+++ b/
gdk/wayland/gdkdisplay-wayland.c
@@
-934,7
+934,7
@@
create_shm_pool (struct wl_shm *shm,
int ret, fd;
void *data;
- ret = syscall (
SYS
_memfd_create, "gdk-wayland", MFD_CLOEXEC);
+ ret = syscall (
__NR
_memfd_create, "gdk-wayland", MFD_CLOEXEC);
if (ret < 0)
{